package com.bwie.user.mapper;

import com.bwie.common.domain.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface UserMapper {
    /**
     * 根据用户名查询
     */
    User QueryByUserName(@Param("userName") String userName);
    /**
     * 根据用户ID查询
     */
    User getUser(@Param("userId") Integer userId);
}
